﻿using SqlSugar;
namespace IMES.Entity
{
    /// <summary>
    /// 基础信息-班组
    ///</summary>
    [SugarTable("bs_line")]
    public class BsLine : BaseEntity
    { 
        /// <summary>
        /// 班组代码 
        ///</summary>
         [SugarColumn(ColumnName="Code" ,IsPrimaryKey = true   )]
         public string Code { get; set; }
        /// <summary>
        /// 班组名称 
        ///</summary>
         [SugarColumn(ColumnName="Name"    )]
         public string Name { get; set; }
        /// <summary>
        /// 工厂代码 
        ///</summary>
         [SugarColumn(ColumnName="FactoryCode"    )]
         public string FactoryCode { get; set; }
        /// <summary>
        /// 班组分类:裁/缝/包装/大烫/FQC 
        ///</summary>
         [SugarColumn(ColumnName="Kind"    )]
         public string Kind { get; set; }
        /// <summary>
        /// 车缝类型:组装/零部件/模板 
        ///</summary>
         [SugarColumn(ColumnName="SewKind"    )]
         public string SewKind { get; set; }
        /// <summary>
        /// 班组人数 
        ///</summary>
         [SugarColumn(ColumnName="BZRS"    )]
         public int BZRS { get; set; }
        /// <summary>
        /// 负责人 
        ///</summary>
         [SugarColumn(ColumnName="FZR"    )]
         public string FZR { get; set; }
        /// <summary>
        /// 序号 
        ///</summary>
         [SugarColumn(ColumnName="SortID"    )]
         public byte SortID { get; set; }
        /// <summary>
        /// 备注 
        ///</summary>
         [SugarColumn(ColumnName="Remark"    )]
         public string Remark { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="CreateTime"    )]
         public DateTime CreateTime { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="Creator"    )]
         public string Creator { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="EditTime"    )]
         public DateTime? EditTime { get; set; }
        /// <summary>
        ///  
        ///</summary>
         [SugarColumn(ColumnName="Editor"    )]
         public string Editor { get; set; }
    }
}
